FROM golang:1.19
ENV GOPROXY https://goproxy.cn,direct
RUN git clone https://gitee.com/youqianglinux/k8s-code-platform.git -b master && cd k8s-code-platform && GOPROXY='https://goproxy.cn,direct' go mod tidy
WORKDIR k8s-code-platform
CMD go run main.go